<?php
/**
 * Request_Interface
 * @filesource
 */
/**
 * Namespace
 */
namespace framework\library\interfaces;
/**
 * Dependencies
 */
/**
 * Cleans and stores all inbound data from the superglobal arrays
 * 
 * @author Randy Casburn <randy@plurious.com>
 * @copyright Copyright Plurious Software, all rights reserved
 * @license MIT
 * @license http://www.opensource.org/licenses/mit-license.html
 * @link http://plurious.com/framework/documentation/classes/Front.html
 * @version 2.1
 * @api
 */
interface Request_Interface {

    /**
     * Recursive function that adds htmlspecialchars treatment to each REQUEST array
     * 
     * @param mixed $data
     * @return mixed cleaned $data
     */
    public function clean($data);

    /**
     * Get a value originally stored in the $_GET Superglobal
     * 
     * @param string $value to retrieve
     */
    public function getGet($value);

    /**
     * Get a value originally stored in the $_POST Superglobal
     * 
     * @param string $value to retrieve
     */
    public function getPost($value) ;
    /**
     * Get a value originally stored in the $_COOKIE Superglobal
     * 
     * @param string $value to retrieve
     */
    public function getCookie($value) ;
    /**
     * Get a value originally stored in the $_FILES Superglobal
     * 
     * @param string $value to retrieve
     */
    public function getFiles($value);
    /**
     * Get a value originally stored in the $_SERVER Superglobal
     * 
     * @param string $value to retrieve
     */
    public function getServer($value) ;

}

?>